<?
    $FileName = pathinfo($_SERVER['PHP_SELF'], PATHINFO_FILENAME);
    $sql = "CREATE TABLE IF NOT EXISTS $FileName (
title		VARCHAR(150),
bodytext	TEXT,
created		VARCHAR(100)
)
MySQL_QUERY";
echo($sql);
?> 